<div class="main">
<!--   <div class="main-header">
    <div class="pa-icon-div pull-left fs-14">
      <i class="iconfont icon-shouye fs-14 icon-vertical-top"></i>
      <span class="fs-vertical-middle">内业>人员管理>
        <span class="fs-theme-color">人员分类</span>
      </span>
    </div>
  </div> -->
  <div class="classify-content">
    <div class="sidebar-nav">
      <ul>
        <li class="classify">
          <a class="classify-item classify-title">
            <i class="iconfont icon-middle icon-daolushigong-copy"></i>
            <span>施工队</span>
          </a>
          <ul class="classify-item-1">
            <li class="classify-detail remove-active"
              ng-class="{'active': vm.data.menuCurrentIndex == $index}"
              ng-repeat="dept in vm.deptParams"
              ng-click="vm.$getWorkerInfoList(dept, $index)">
              <a class="classify-item classify-list">
                <span>{{dept.name}}</span>
              </a>
            </li>
          </ul>
        </li>
        <li class="classify">
          <a class="classify-item classify-title">
            <i class="iconfont icon-middle icon-qita"></i>
            <span>其他</span>
          </a>
          <ul>
            <li class="classify-detail"
              ng-repeat="item in vm.data.otherList"
              ng-class="{'active': vm.data.menuOtherCurrentIndex == $index && vm.data.otherClassify}"
              ng-click="vm.$getWorkerInfoList(item, $index, 1)">
              <a class="classify-item classify-list">
                <span>{{item.name}}</span>
              </a>
            </li>
          </ul>
        </li>
      </ul>
    </div>
    <div class="classify-content-table">
      <div class="classify-table">
        <div class="pa-table-container">
          <table class="pa-table">
            <thead>
              <tr>
                <th>人员编码</th>
                <th>姓名</th>
                <th>性别</th>
                <th>身份证号</th>
                <th>岗位</th>
                <th>进场时间</th>
                <th>出场时间</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
              <tr ng-show="vm.$table.fetchTimes > 0 &amp;&amp; vm.$table.pagination.total == 0 &amp;&amp; !vm.$table.isTableLoading" class="ng-scope ng-hide" aria-hidden="true">
                <td colspan="8">
                  <div>暂无数据</div>
                </td>
              </tr>
              <tr ng-show="vm.$table.isTableLoading" class="ng-scope ng-hide" aria-hidden="true">
                <td colspan="8">
                  <div>数据加载中...</div>
                </td>
              </tr>
              <tr ng-repeat="item in vm.workerListData">
                <td>{{item.code}}</td>
                <td>{{item.fullName}}</td>
                <td>{{item.sex == 1 ? '男' : item.sex == 2 ? '女' : ''}}</td>
                <td>{{item.idNo}}</td>
                <td>{{item.postName}}</td>
                <td>{{item.inTime | date:'yyyy-MM-dd'}}</td>
                <td>{{item.outTime | date:'yyyy-MM-dd' }}</td>
                <td>
                  <div class="operate-del" ui-sref="workerInfoDetail({id: item.id})">
                    <i class="iconfont icon-middle icon-jilu3 detail-color fs-12"></i>
                    <span>详情</span>
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
          <div style="margin:20px 0;height:30px;display: inline-block;">共计<span style="color: #008bdd">{{vm.$table.pagination.totalItems}}</span>条</div>
          <ul uib-pagination
            total-items="vm.$table.pagination.totalItems"
            items-per-page="vm.$table.pagination.ITEMS_PER_PAGE"
            ng-model="vm.$table.pagination.currentPage"
            ng-change="vm.$paginationQuery()"
            max-size="vm.$table.pagination.maxSize"
            next-text="下一页"
            previous-text="上一页"
            class="pagination-sm pull-right"
            boundary-link-numbers="true"
            rotate="true"
            force-ellipses="true"></ul>
        </div>
      </div>
    </div>
  </div>
</div>